/*
 * @Author: hyq
 * @LastEditors: hyq
 * @Description:
 * @Date: 2023-12-05 11:05:39
 */
import { isH5 } from '@/utils'
import { onLoad } from '@dcloudio/uni-app'
export function useShareMenu() {
  onLoad(() => {
    if (!isH5) {
      uni.showShareMenu({
        withShareTicket: true,
        menus: ['shareAppMessage', 'shareTimeline']
      })
    }
  })
}
